package com.ruibang.glass.produce.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.produce.domain.resp.MonitorInfo;
import com.ruibang.glass.produce.domain.resp.MonitorUpdate;
import com.ruibang.glass.produce.entity.MonitorPoint;

import java.util.List;


/**
 * @author 宋锦康
 */
public interface MonitorPointService extends IService<MonitorPoint> {

    List<MonitorPoint> queryDataByIds(List<String> monitorIds);

    List<MonitorInfo> getMonitorInfoByMonitorCode(List<String> monitorCodes);

    List<MonitorPoint> queryMonitorPoints(String deviceId);

    List<MonitorPoint> queryByMonitorIds(List<String> monitorIds);

    void deleteByDeviceId(String deviceId);

    void updateOrderNum(String monitorId, Integer orderNum);

    List<MonitorPoint> getMonitorPointByDeviceId(List<String> deviceIds);

    void updateUnit(MonitorUpdate monitorUpdate);

    long getCountByDeviceId(String deviceId);
}
